package com.ozy.kxreader.di.component

import android.app.Application
import com.ozy.kxreader.base.Api
import com.ozy.kxreader.di.module.AppModule
import com.ozy.kxreader.di.module.ClientModule
import com.google.gson.Gson
import dagger.Component
import javax.inject.Singleton

/**
 * Created by 欧源 on 2018/1/29.
 */
@Singleton
@Component(modules = arrayOf(AppModule::class, ClientModule::class))
interface AppComponent {


    fun inject(application: Application)

    fun application(): Application

    fun gson(): Gson


    fun api(): Api
}